#!/bin/bash

echo "==================================="
echo " Starting Frontend Production Build"
echo "==================================="
echo

set -e

echo "Building frontend application..."
cd frontend
npm run build
echo "Frontend build completed successfully."
echo

echo "The production-ready files are located in the 'frontend/dist' directory."
echo "You can deploy this 'dist' directory to your web server."
echo